package com.yunxin.core.admin.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 * 团队权重产品分发占比关系表
 * @TableName sys_team_weight_product
 */
@TableName(value ="sys_team_weight_product")
@Data
public class AdminTeamWeightProduct implements Serializable {
    /**
     * 自增id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 团队id
     */
    private Integer teamId;

    /**
     * 权重id
     */
    private Integer weightId;

    /**
     * 产品id
     */
    private Long productId;

    /**
     * 分发占比
     */
    private BigDecimal distribute;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}